package com.company.gobang;

import com.company.gobang.core.SimpleJsonCodecV2;
import xyz.noark.core.network.PacketCodec;
import xyz.noark.game.bootstrap.BaseServerBootstrap;


/**
 * 服务器服务启动类.
 *
 * @author 小流氓[176543888@qq.com]
 */
public class GameServerBootstrap extends BaseServerBootstrap {

    @Override
    protected String getServerName() {
        return "game-server";
    }

    @Override
    protected PacketCodec getPacketCodec() {
        return new SimpleJsonCodecV2();
    }
}